const http = uni.$uv.http

export default {
	baseUrl: 'https://bbg.tongkeer.com/api',
	
	token: '',
	// token: 'uuid-12345678',
	// 公共接口
	
	wxLogin: (params?: any) => http.get(`/member/login`, { params }), //登录
	
	getUserInfo: (params?: any) => http.get(`/member/getInfo`, { params }), //获取用户信息
	
	qiNiuToken: () => http.get(`/member/getUploadToken`), //获取七牛上传信息
	
	storeList: () => http.get(`/member/deptList`), //门店列表
	
	adviceList: (params?: any) => http.get(`/member/adviceList`, { params }), //意见公示台
	
	myAdviceList: (params?: any) => http.get(`/member/myAdviceList`, { params }), //我的意见
	
	applyAdvice: (params?: any) => http.post(`/member/advice`, params), //提交意见
}

